package com.molichuxing.gateway.bff.dealer.services;

import com.molichuxing.gateway.bff.dealer.entity.response.StoreDetailVo;
import com.molichuxing.gateway.bff.dealer.entity.response.StoreInfoVo;
import com.molichuxing.gateway.bff.dealer.entity.response.StoreNameVo;
import com.molichuxing.gateway.bff.dealer.entity.response.StoreVo;

import java.util.List;
import java.util.Map;

public interface StoreBffService {

    /**
     * 通过城市获取门店列表
     *
     * @param map      key：regionId Integer 区域ID
     * @return
     * @throws Exception
     */
    public List<StoreInfoVo> getStoreInfoList(Map<String, Object> map) throws Exception;

    /**
     * 通过城市获取门店列表(新版本)
     *
     * @param map      key：regionId Integer 区域ID
     * @return
     * @throws Exception
     */
    public StoreDetailVo getStoreDetailList(Map<String, Object> map) throws Exception;

    /**
     * 获取4s门店
     *
     * @param shortName
     * @return
     */
    public List<StoreNameVo> getFoursStore(String shortName);

    /**
     * 根据门店id获取门店信息
     * @param storeId
     * @return
     */
    public StoreVo getStoreById(Integer storeId) throws Exception;

    /**
     * 检验门店、商品状态
     * @param storeId
     * @param goodsId
     * @return
     */
    public Integer checkGoodsStoreStatus(Integer storeId, Integer goodsId) throws Exception;
}
